This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
I've posted about this before and didn't get a a response, but have just run into this again so thought I'd try another post. Can anyone explain why Javascript validation doesn't work in Javascript Script Libraries?
I'd gotten round this problem by using File Resources to write Javascript and managing to get a JSLint validator installed, but now I'd like to start working with XPages and have found that you can only use javascript files set up as Script Libraries, not ones created a file resources.
I'm testing whether validation works like this: in my preferences - Javascript\Validator\Errors/Warnings - I've got optional semi-colon set to 'Warning'. I create a js script library, write a simple function like this:
function whatever() {
x = 1
}
and save. No warning anywhere. No option to right-click - Validate or any way I can see of setting the validation off.
Am I missing something here? Having a validator is such a timesaver that it's taking a big step backwards to have to start working without one, and it's really depressing to see those options in the preferences but not to be able to take advantage of them.
Thanks,
Emily.
Feedback number WEBB86PDEE created by ~Mario Rejipyzenader on 06/23/2010
Status: Open
Comments: